<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>oauth-code</title>
</head>
<body>
    <a th:href="${authCodeUrl}" id="goto">点击跳转</a>
</body>
    <script>
        a=document.getElementById("goto")
        a.click()
    </script>
</html>